<?php

require_once 'Ext/Account/Abstract.php';

class Ext_Account_Adapter_Db extends Ext_Account_Abstract
{
    public function _build()
    {
        $userProfile = App_Model_DbTable_User_Profile::getInstance()->getRowByUserId($this->_userId);
        if(!$userProfile){
            return "";
        }
        $this->username = $userProfile['username'];
        $this->email    = $userProfile['email'];
    }
}
